home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Commo-Support / Disk-Archive / includes-1_4.dms / includes-1_4.adf / i.zoo / exec / nodes.i < prev    next >
Encoding:
Text File  |  1989-12-18  |  1.4 KB  |  60 lines

  1.     IFND EXEC_NODES_I
  2. EXEC_NODES_I    SET 1
  3. **
  4. **    $Filename: exec/nodes.i $
  5. **    $Release: 1.3 $
  6. **    $Revision: 36.5 $
  7. **    $Date: 89/12/17 20:12:21 $
  8. **
  9. **    Nodes & Node type identifiers.
  10. **
  11. **    (C) Copyright 1985,1986,1987,1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.  
  16. *
  17. *   List Node Structure.  Each member in a list starts with a Node
  18. *
  19.    STRUCTURE    LN,0    ; List Node
  20.     APTR    LN_SUCC    ; Pointer to next (successor)
  21.     APTR    LN_PRED    ; Pointer to previous (predecessor)
  22.     UBYTE   LN_TYPE
  23.     BYTE    LN_PRI    ; Priority, for sorting
  24.     APTR    LN_NAME    ; ID string, null terminated
  25.     LABEL   LN_SIZE    ; Note: word alligned
  26.  
  27. ; minimal node -- no type checking possible
  28.    STRUCTURE    MLN,0    ; Minimal List Node
  29.     APTR    MLN_SUCC
  30.     APTR    MLN_PRED
  31.     LABEL   MLN_SIZE
  32.  
  33. ;------ Node Types for LN_TYPE
  34.  
  35. NT_UNKNOWN      EQU 0
  36. NT_TASK         EQU 1    ; Exec task
  37. NT_INTERRUPT    EQU 2
  38. NT_DEVICE       EQU 3
  39. NT_MSGPORT      EQU 4
  40. NT_MESSAGE      EQU 5
  41. NT_FREEMSG      EQU 6
  42. NT_REPLYMSG     EQU 7
  43. NT_RESOURCE     EQU 8
  44. NT_LIBRARY      EQU 9
  45. NT_MEMORY       EQU 10
  46. NT_SOFTINT    EQU 11    ; Internal flag used by SoftInts
  47. NT_FONT     EQU 12
  48. NT_PROCESS    EQU 13    ; AmigaDOS Process
  49. NT_SEMAPHORE    EQU 14
  50. NT_SIGNALSEM    EQU 15    ; signal semaphores
  51. NT_BOOTNODE     EQU 16
  52. NT_KICKMEM     EQU 17
  53. NT_GRAPHICS    EQU 18
  54. NT_DEATHMESSAGE    EQU 19
  55.  
  56. NT_USER        EQU 254    ; User node types work down from here
  57. NT_EXTENDED    EQU 255
  58.  
  59.     ENDC    ;EXEC_NODES_I
  60.